Optimal. Leaf size=38 \[ \frac {(b d-a e) (a+b x)^5}{5 b^2}+\frac {e (a+b x)^6}{6 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {27, 45}
\begin {gather*} \frac {(a+b x)^5 (b d-a e)}{5 b^2}+\frac {e (a+b x)^6}{6 b^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 45
Rubi steps
\begin {align*} \int (d+e x) \left (a^2+2 a b x+b^2 x^2\right )^2 \, dx &=\int (a+b x)^4 (d+e x) \, dx\\ &=\int \left (\frac {(b d-a e) (a+b x)^4}{b}+\frac {e (a+b x)^5}{b}\right ) \, dx\\ &=\frac {(b d-a e) (a+b x)^5}{5 b^2}+\frac {e (a+b x)^6}{6 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(84\) vs. \(2(38)=76\).
time = 0.01, size = 84, normalized size = 2.21 \begin {gather*} \frac {1}{30} x \left (15 a^4 (2 d+e x)+20 a^3 b x (3 d+2 e x)+15 a^2 b^2 x^2 (4 d+3 e x)+6 a b^3 x^3 (5 d+4 e x)+b^4 x^4 (6 d+5 e x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(96\) vs.
\(2(34)=68\).
time = 0.61, size = 97, normalized size = 2.55
method | result | size |
norman | \(\frac {e \,b^{4} x^{6}}{6}+\left (\frac {4}{5} e a \,b^{3}+\frac {1}{5} d \,b^{4}\right ) x^{5}+\left (\frac {3}{2} a^{2} e \,b^{2}+a d \,b^{3}\right ) x^{4}+\left (\frac {4}{3} a^{3} b e +2 a^{2} b^{2} d \right ) x^{3}+\left (\frac {1}{2} e \,a^{4}+2 d \,a^{3} b \right ) x^{2}+a^{4} d x\) | \(94\) |
default | \(\frac {e \,b^{4} x^{6}}{6}+\frac {\left (4 e a \,b^{3}+d \,b^{4}\right ) x^{5}}{5}+\frac {\left (6 a^{2} e \,b^{2}+4 a d \,b^{3}\right ) x^{4}}{4}+\frac {\left (4 a^{3} b e +6 a^{2} b^{2} d \right ) x^{3}}{3}+\frac {\left (e \,a^{4}+4 d \,a^{3} b \right ) x^{2}}{2}+a^{4} d x\) | \(97\) |
gosper | \(\frac {x \left (5 e \,b^{4} x^{5}+24 x^{4} e a \,b^{3}+6 x^{4} d \,b^{4}+45 a^{2} b^{2} e \,x^{3}+30 a \,b^{3} d \,x^{3}+40 x^{2} a^{3} b e +60 x^{2} a^{2} b^{2} d +15 a^{4} e x +60 x d \,a^{3} b +30 d \,a^{4}\right )}{30}\) | \(98\) |
risch | \(\frac {1}{6} e \,b^{4} x^{6}+\frac {4}{5} a \,b^{3} e \,x^{5}+\frac {1}{5} b^{4} d \,x^{5}+\frac {3}{2} a^{2} b^{2} e \,x^{4}+a \,b^{3} d \,x^{4}+\frac {4}{3} a^{3} b e \,x^{3}+2 x^{3} a^{2} b^{2} d +\frac {1}{2} a^{4} e \,x^{2}+2 a^{3} b d \,x^{2}+a^{4} d x\) | \(98\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 101 vs.
\(2 (36) = 72\).
time = 0.27, size = 101, normalized size = 2.66 \begin {gather*} \frac {1}{6} \, b^{4} x^{6} e + a^{4} d x + \frac {1}{5} \, {\left (b^{4} d + 4 \, a b^{3} e\right )} x^{5} + \frac {1}{2} \, {\left (2 \, a b^{3} d + 3 \, a^{2} b^{2} e\right )} x^{4} + \frac {2}{3} \, {\left (3 \, a^{2} b^{2} d + 2 \, a^{3} b e\right )} x^{3} + \frac {1}{2} \, {\left (4 \, a^{3} b d + a^{4} e\right )} x^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 97 vs.
\(2 (36) = 72\).
time = 1.85, size = 97, normalized size = 2.55 \begin {gather*} \frac {1}{5} \, b^{4} d x^{5} + a b^{3} d x^{4} + 2 \, a^{2} b^{2} d x^{3} + 2 \, a^{3} b d x^{2} + a^{4} d x + \frac {1}{30} \, {\left (5 \, b^{4} x^{6} + 24 \, a b^{3} x^{5} + 45 \, a^{2} b^{2} x^{4} + 40 \, a^{3} b x^{3} + 15 \, a^{4} x^{2}\right )} e \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 100 vs.
\(2 (32) = 64\).
time = 0.02, size = 100, normalized size = 2.63 \begin {gather*} a^{4} d x + \frac {b^{4} e x^{6}}{6} + x^{5} \cdot \left (\frac {4 a b^{3} e}{5} + \frac {b^{4} d}{5}\right ) + x^{4} \cdot \left (\frac {3 a^{2} b^{2} e}{2} + a b^{3} d\right ) + x^{3} \cdot \left (\frac {4 a^{3} b e}{3} + 2 a^{2} b^{2} d\right ) + x^{2} \left (\frac {a^{4} e}{2} + 2 a^{3} b d\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 102 vs.
\(2 (36) = 72\).
time = 1.75, size = 102, normalized size = 2.68 \begin {gather*} \frac {1}{6} \, b^{4} x^{6} e + \frac {1}{5} \, b^{4} d x^{5} + \frac {4}{5} \, a b^{3} x^{5} e + a b^{3} d x^{4} + \frac {3}{2} \, a^{2} b^{2} x^{4} e + 2 \, a^{2} b^{2} d x^{3} + \frac {4}{3} \, a^{3} b x^{3} e + 2 \, a^{3} b d x^{2} + \frac {1}{2} \, a^{4} x^{2} e + a^{4} d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.51, size = 88, normalized size = 2.32 \begin {gather*} x^2\,\left (\frac {e\,a^4}{2}+2\,b\,d\,a^3\right )+x^5\,\left (\frac {d\,b^4}{5}+\frac {4\,a\,e\,b^3}{5}\right )+\frac {b^4\,e\,x^6}{6}+a^4\,d\,x+\frac {2\,a^2\,b\,x^3\,\left (2\,a\,e+3\,b\,d\right )}{3}+\frac {a\,b^2\,x^4\,\left (3\,a\,e+2\,b\,d\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________